#include <stdio.h>
#include <conio.h>
#include <iostream.h>
#include <math.h>

int main()
{

double x, y, z, s, a, b;

	cout<<"Vvedite x: ";
	cin>>x;
	
	cout<<"Vvedite y: ";
	cin>>y;
	
	cout<<"Vvedite z: ";
	cin>>z;

	a = (double) x + 3 * fabs(x - y) + x*x;
	
	b = (double) fabs(x - y) * z + x*x;

		if (b == 0) 
		{
			cout<<"Delenie na 0! Izmenite vvedennye dannye."<<endl;
			getch();
			return 0;
		}

		cout<<atan(x)<<endl;
		cout<<acos(x)<<endl;
	s = 5 * atan(x) - 1/4. * acos(x) * a / b;

	cout<<"Resultat s = "<<s<<endl;
		
	getch();
	return 0;
}